@import "common";

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #F2F2F2;

    /*可以滚动但不显示滚动条，影响ElementUI样式*/
    /*overflow-y: auto;
    &::-webkit-scrollbar {display:none}*/
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font: 14px/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

a:focus,
a:active {
    outline: none;
}

a,
a:focus,
a:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixed {
    position: fixed;
}

/*进度条*/
#nprogress {
    .bar {
        z-index: 666666;
    }
    .spinner {
        z-index: 666666;
    }
}

/*router-view 过渡动画*/
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
    opacity: 0;
}

.pagination-container {
    margin-top: 30px;
}

.filter-wrapper {
    margin-bottom: 5px;
    .el-form-item {
        margin-bottom: 5px;
    }
    .toolbar {
        display: inline-block
    }
}

/*页面返回按钮*/
.back {
    width: 47px;
    height: 47px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 700;
    background-image: url("../static/imgs/back.png");
}

